import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Myheader from './components/Header.vue'
import Myfooter from './components/Footer.vue'
import ElementUI from 'element-ui';    // 引入模块 
import 'element-ui/lib/theme-chalk/index.css';  // 引入样式


// 配置axios
import axios from 'axios'
axios.defaults.baseURL='http://127.0.0.1:6060'
Vue.prototype.axios=axios;


Vue.config.productionTip = false
Vue.component('my-header',Myheader);
Vue.component('my-footer',Myfooter);
Vue.use(ElementUI);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
